import Http from '@/common/http'

export default {

  getGroupList: (params = {}) => Http.get('/im/group/list', params),

  getGroupInfo: id => Http.get(`/im/group/${id}/info`),

  getGroupUsers: (id, params = {}) => Http.get(`/im/group/${id}/users`, params)

}
